package com.sy.olddriver.service;

import com.sy.olddriver.dto.Page;
import com.sy.olddriver.entity.Product;
import com.sy.olddriver.vo.ProductQueryParam;

import java.util.List;

public interface ProductService {
    List<Product> getNewestProducts();

    List<Product> getHotestProducts();

    Page<Product> getPagingProducts(ProductQueryParam param, Long pageNo);

    Product getProductById(Integer pid);
}
